package fina2.dcs.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.NotNull;

@Entity
@Table(name = "SYS_PROPERTIES")
@SuppressWarnings("serial")
public class SysProperty implements Serializable {
	private String propKey;
	private String value;

	public SysProperty() {

	}

	public SysProperty(String propKey, String value) {
		this.propKey = propKey;
		this.value = value;
	}

	@Id
	@Column(name = "PROP_KEY")
	public String getPropKey() {
		return propKey;
	}

	public void setPropKey(String propKey) {
		this.propKey = propKey;
	}

	@NotNull
	@Column(name = "VALUE")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
